window: Hide titlebox when undecorated
authorTimm Bäder <mail@baedert.org>
Tue, 9 May 2017 06:32:06 +0000 (08:32 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 25 May 2017 14:25:59 +0000 (16:25 +0200)
commitf5e8d7a4e2563786769ef5e5ce50d7df0259dc10
tree8b4245dfea198287b406c1829a0686469ceee3ed
parent81cdc8713cc4a946780bd1bb7fbef64f50f2b239
window: Hide titlebox when undecorated

We don't draw or size-allocate the titlebar when the window is
fullscreen or undecorated, so reflect this by setting it to
!child_visible. This can happen when changing the value of the decorated
property while the window is shown.
gtk/gtkwindow.c